Regular

data class Regular<T>(val kClass: KClass<*>, val typeArguments: List<SuppliedProjection>, val isNullable: Boolean) : SuppliedType<T> (source)

Represents a regular type expression that is a classifier (class or interface) with type arguments.

For now, this class's instances can be made only manually. It is planned to make Kotlin compiler plugin that creates them automatically.

Parameters

kClass

is a KClass of the classifier.

typeArguments

is a list of type arguments that are projections of other type suppliers.

isNullable

defines if the type supplier describes nullable type.

Constructors

Link copied to clipboard
constructor(kClass: KClass<*>, typeArguments: List<SuppliedProjection>, isNullable: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
val kClass: KClass<*>
Link copied to clipboard